main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}




.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}


select.form-control, select{
    -webkit-appearance: auto;
}



.switch {
    position: relative;
    display: inline-block;
    margin-top: 3px; /* Смещение вниз на 3px */
}

.switch-input {
    display: none; /* Чекбокс скрыт, но должен быть в DOM */
}

.switch-label {
    display: block;
    width: 32px;
    height: 16px;
    position: relative;
    cursor: pointer;
    user-select: none;
}

.switch-label::before,
.switch-label::after {
    content: "";
    display: block;
    position: absolute;
    cursor: pointer;
}

.switch-label::before {
    width: 100%;
    height: 100%;
    background-color: #dedede;
    border-radius: 9999em;
    -webkit-transition: background-color 0.25s ease;
    transition: background-color 0.25s ease;
}

.switch-label::after {
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.45);
    -webkit-transition: left 0.25s ease;
    transition: left 0.25s ease;
}

.switch-input:checked + .switch-label::before {
    background-color: #89c12d;
}

.switch-input:checked + .switch-label::after {
    left: 18px;
}

.switch-wrapper {
    display: flex;
    align-items: center;
    gap: 8px; /* расстояние между кнопкой и текстом, при необходимости можно изменить */
}

.switch-label {
    display: inline-block;
    /* дополнительные стили для переключателя, если нужно */
}

.switch-text {
    display: flex;
    align-items: center; /* выравнивание по вертикали */
}

.star-container {
    display: inline-block;
    position: relative;
}

.star-checkbox {
    display: none;
}

.star-label {
    display: inline-block;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.star-label i {
    font-size: 1.0em;
    color: #a3a3a3; /* Цвет неактивной звезды */
    font-style: normal;
}

.star-checkbox:checked + .star-label i {
    color: #1a5c11; /* Цвет активной звезды */
}

/* Стили для таблицы внутри popover */
.popover table {
    border-collapse: collapse;
    width: 100%;
    margin: 10px 0;
}

.popover th,
.popover td {
    border: 1px solid #6d8d26 !important; /* !important на случай, если другие стили переопределяют */
    padding: 8px;
    text-align: left;
}
